package com.accenture.portal.service;

import java.util.List;

import com.accenture.portal.model.User;

public interface UserService {
	public User login (Integer user_id);
	
	public User searchById (Integer user_id);
	
	public void uploadImg (User user);
	
	public void add(User user);

	public void delete(int id);

	public User findById(int id);
	
	public void update(User user);
	
	public List<User> findAll();
	
	public int totalCount();
	
	public List<User> searchByPage(int start, int end);
	
	public List<User> searchByname (String name);

	
	public int loginErrorTimes(int id);

	public List<User> searchUser (String userSearchWords);
	
	public User modifyUserPassword(String user_name,String user_password);
	public void updateModifyUserPassword(User user);

	
	public User confirmUserName(String user_name);
	
	public User confirmTel(String user_cellphone);
	
	public User confirmEmail(String user_email);
	
	public void register(User user);
	
	//激活账号
	public void activationUser(String user_name);

}
